package com.letfox.ad.service.relation.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.relation.ADPlanServingDetailDao;
import com.letfox.ad.model.relation.ADPlanServingDetail;
import com.letfox.ad.service.relation.ADPlanServingDetailService;

@Service
public class ADPlanServingDetailServiceImpl implements
		ADPlanServingDetailService {
	
	@Autowired
	private ADPlanServingDetailDao adPlanRlServingDetailDao;
	
	@Override
	public int deleteByPrimaryKey(String id) {
		return adPlanRlServingDetailDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ADPlanServingDetail record) {
		return adPlanRlServingDetailDao.insert(record);
	}

	@Override
	public ADPlanServingDetail selectByPrimaryKey(String id) {
		return adPlanRlServingDetailDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKey(ADPlanServingDetail record) {
		return adPlanRlServingDetailDao.updateByPrimaryKey(record);
	}

}
